package dblayer;

import java.sql.SQLException;
import java.util.ArrayList;

import modellayer.SalesOrder;

/**
 * @author Gruppe 3
 */
public interface IFDBSalesOrder {

	public ArrayList<SalesOrder> getAllSalesOrders(boolean retriveAssociation); 

	public SalesOrder selectSingleSalesOrder(int SalesOrder, boolean retriveAssociation) throws SQLException;

	public int insertSalesOrder(SalesOrder c) throws SQLException;

	public int updateSalesOrder(SalesOrder c) throws SQLException; 

	public int deleteSalesOrder(SalesOrder c) throws SQLException; 
	
	public int getMaxID();
}
